home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Mole 1 / card_5565.txt < prev    next >
Text File  |  1990-06-19  |  3KB  |  141 lines

  1. -- card: 5565 from stack: in
  2. -- bmap block id: 5866
  3. -- flags: 0000
  4. -- background id: 2601
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 0004
  11. -- rect: left=193 top=113 right=193 bottom=327
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 3
  16. -- text size: 18
  17. -- style flags: 0
  18. -- line height: 24
  19. -- part name: See Ans
  20. ----- HyperTalk script -----
  21. on mouseup
  22.   global flag
  23.   if flag = 0 then
  24.     hide card field "See Ans"
  25.     wait 2 seconds
  26.     show card field "See Ans"
  27.   else
  28.     put zero into flag
  29.     put"Click Here" into line 1 of card field "See Ans"
  30.     put"to" into line 2 of card field "See Ans"
  31.     put"See Answer" into line 3 of card field "See Ans"
  32.     show card field "See sol"
  33.  
  34.   end if
  35.  
  36. end mouseup
  37.  
  38.  
  39. -- part 2 (field)
  40. -- low flags: 01
  41. -- high flags: 0004
  42. -- rect: left=89 top=205 right=323 bottom=478
  43. -- title width / last selected line: 0
  44. -- icon id / first selected line: 0 / 0
  45. -- text alignment: 1
  46. -- font id: 3
  47. -- text size: 24
  48. -- style flags: 0
  49. -- line height: 32
  50. -- part name: See Sol
  51. ----- HyperTalk script -----
  52.  
  53. on mouseup
  54.   global flag
  55.   put 1 into flag
  56.   hide card field "See Sol"
  57.   put empty into card field "See Ans"
  58.   put"Click Here" into line 1 of card field "See Ans"
  59.   put"to" into line 2 of card field "See Ans"
  60.   put"Hide Solution" into line 3 of card field "See Ans"
  61.   show card field "See Ans"
  62. end mouseup
  63.  
  64.  
  65.  
  66. -- part 4 (button)
  67. -- low flags: 00
  68. -- high flags: 8003
  69. -- rect: left=427 top=142 right=191 bottom=496
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 27009 / 27009
  72. -- text alignment: 1
  73. -- font id: 0
  74. -- text size: 12
  75. -- style flags: 0
  76. -- line height: 16
  77. -- part name: Next Prob.
  78. ----- HyperTalk script -----
  79. on mouseUp
  80.   global flag
  81.   put 1 into flag
  82.   send mouseup to card field "see Ans"
  83.   visual dissolve slow to grey
  84.   go to next card
  85. end mouseUp
  86.  
  87.  
  88.  
  89. -- part 6 (button)
  90. -- low flags: 00
  91. -- high flags: 8003
  92. -- rect: left=427 top=102 right=136 bottom=496
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: Menu
  101. ----- HyperTalk script -----
  102. on mouseUp
  103.   global flag
  104.   put 1 into flag
  105.   send mouseup to card field "see Ans"
  106.   go to card menu
  107. end mouseUp
  108.  
  109.  
  110.  
  111. -- part 9 (button)
  112. -- low flags: 00
  113. -- high flags: 8002
  114. -- rect: left=5 top=286 right=331 bottom=86
  115. -- title width / last selected line: 0
  116. -- icon id / first selected line: 0 / 0
  117. -- text alignment: 1
  118. -- font id: 0
  119. -- text size: 12
  120. -- style flags: 0
  121. -- line height: 16
  122. -- part name: MolarMass
  123. ----- HyperTalk script -----
  124. on mouseUp
  125.   hide card button "MolarMass"
  126.   wait 1 seconds
  127.   Show card button "MolarMass"
  128. end mouseUp
  129.  
  130.  
  131.  
  132. -- part contents for card part 2
  133. ----- text -----
  134.  
  135. Click Here to See Solution
  136.  
  137. -- part contents for card part 1
  138. ----- text -----
  139. Click Here
  140. to
  141. See Answer